package legumes.client.services.callbacks;

import legumes.client.services.LegumesServicesHelper;
import legumes.client.services.util.rpc.SequencableRPCCall;

public class RemoveCustomerCallback extends SequencableRPCCall<Void> {
	private String customerId;

	public RemoveCustomerCallback(String customerId_) {
		customerId = customerId_;
	}

	@Override
	protected void doCall() {
		LegumesServicesHelper.LEGUMES_SERVICES.removeCustomer(customerId, this);
	}

}
